package com.sun.showcase.es;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.Date;

@Data
@Document(indexName = "test")
public class TestDomain {
    @Id
    private String id;

    private String name;

    private Integer age;

    private Date birthDay;
}
